package xyz.chaobei.gateway3;

import java.util.Arrays;
import java.util.List;

public class GatewayApplication {

    public static void main(String[] args) {

        List<String> list = Arrays.asList("http://127.0.0.1:8083", "http://127.0.0.1:8082");
        HttpServer httpServer = new HttpServer(80, list);

        try {
            httpServer.start();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
